<?php

/**
 * Create a badge for the priority
 *
 * @author atila
 */
class Zend_View_Helper_Priority extends Zend_View_Helper_Abstract {
   
   public function priority($description, $cardinal, $css_badge) {
      return "<span class='badge {$css_badge}' rel='tooltip' " .
         "title='{$description}'>{$cardinal}</span>";
   }
}

?>
